<template>
  <div class="container">
    <div class="box">
      <div class="l">
        <div class="title1">即刻起，让劳务无难事</div>
        <div class="title2">人力行业一站式数字化管理平台</div>
      </div>
      <div class="r" @click="opentcc">免费试用</div>
    </div>
    <el-dialog
      append-to-body
      title=""
      :visible.sync="dialogVisible"
      width="30%"
      :before-close="handleClose"
      style="text-align: center"
    >
      <h3 style="text-align: center">请扫码添加联系客服，体验本产品</h3>
      <img style="width: 340px; height: 300px" src="../assets/img/print.png" alt="" />
    </el-dialog>
  </div>
</template>
<script>
export default {
  data() {
    return {
      dialogVisible: false,
    };
  },
  methods: {
    opentcc() {
      this.dialogVisible = true;
    },
    handleClose() {
      this.dialogVisible = false;
    },
  },
};
</script>
<style lang="scss" scoped>
.box {
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  height: 233px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0px 0px 40px 0px rgba(32, 37, 54, 0.07);
  margin-bottom: 83px;
  padding-left: 60px;
  padding-right: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .l {
    .title1 {
      font-weight: 700;
      color: #202536;
      font-size: 35px;
      margin-bottom: 16px;
    }

    .title2 {
      font-size: 16px;
      color: #565868;
    }
  }

  .r {
    width: 250px;
    height: 60px;
    background-color: #3e5ff5;
    color: #ffffff;
    font-size: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 14px 20px 0px rgba(62, 95, 245, 0.33);
    cursor: pointer;
  }
}
</style>
